using vue0701.Infrastructure;
using vue0701.Application;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();

// 注册基础设施服务
builder.Services.AddApplication();
builder.Services.AddInfrastructure(builder.Configuration);


var app = builder.Build();
app.MapControllers();


app.Run();